﻿<UserControl x:Class="WcfClientGenerator.UI.UserControls.GeneratingView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="150" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock x:Name="tblMessage" Grid.Row="0" 
                   Margin="8" TextWrapping="Wrap" 
                   Text="{Binding Path=Message}" />
        <ProgressBar x:Name="prgProgress" Grid.Row="1" 
                     Maximum="{Binding Path=ProgressStepLimit}" Value="{Binding Path=CurrentProgressStep}"
                     MinHeight="20" HorizontalAlignment="Stretch" Margin="8"  />
    </Grid>
</UserControl>
